package com.tanjie.blackbean.system.admin.model.permission;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.io.Serializable;

/**
 * 权限表新增、修改参数
 * @author tanjie
 * @since 2022-04-21
 */
@Data
@Schema(name = "PermissionDTO", description = "权限表")
public class PermissionDTO implements Serializable {

    private static final long serialVersionUID = 1L;

    @Schema(description = "主键")
    private String id;

    @Schema(description = "权限名称")
    private String name;

    @Schema(description = "菜单模块id")
    private String menuId;

    @Schema(description = "客户端类型")
    private Integer clientType;

    @Schema(description = "接口权限标识")
    private String apiPerm;

    @Schema(description = "按钮权限标识")
    private String btnPerm;

}
